Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

fix: throw on missing icon - #75

Closed
tomasciccola wants to merge 1 commit into
mainfrom
fix/throwOnMissingIcon
Closed

fix: throw on missing icon#75
tomasciccola wants to merge 1 commit into
mainfrom
fix/throwOnMissingIcon

Conversation

@tomasciccola

Copy link
Copy Markdown
Contributor

Since we fail HARD when importing a categories file that has a preset without an icon in comapeo-core (see) we should also maintain this logic on the settings builder so that we don't trip users (because we also don't actually show config-import warnings on the CoMapeo UI).
This is a possible solution, but we can also fix this issue on comapeo-core, by just skipping the invalid preset (which I don't think is a good solution because is also not transparent to users until we start showing this config-import warnings)

@tomasciccola
tomasciccola requested a review from achou11 April 8, 2025 18:07
@achou11

achou11 commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

Discussed this a bit elsewhere but I think the existing behavior of this module is generally correct compared to the import implementation that's done in core. Let's defer to the outcome of digidem/comapeo-core#1011 before potentially making a change here

@gmaclennan

Copy link
Copy Markdown
Contributor

This is now addressed in the new comapeocat file format spec, writer and reader APIs.

@gmaclennan gmaclennan closed this Oct 16, 2025
@gmaclennan gmaclennan removed their assignment Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants